<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%  
String path = request.getContextPath();  
String basepath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  
%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>承租人信息</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=yes" name="format-detection" />
    <link href="<%=basepath%>css/index.css" rel="stylesheet" type="text/css">
    <link href="<%=basepath%>css/platform.css" rel="stylesheet" type="text/css">
    <script src="<%=basepath%>js/jquery-1.8.3.min.js"></script>
    <script src="<%=basepath%>js/layer/layer.js"></script>
</head>
<body>
<div class="viewport">
    <div class="header">
       <div class="header-1">
           <a href="javascrpt:void(0)" id="join" class="header-2">
              <span id="account" class="account">${empty user.realName ? '' : user.realName}</span>&nbsp;&nbsp;<span id="deptName" class="deptName">${user.departmentName}</span>
           </a>
           <a href="/wape-web/api/core/centerService?serviceCode=WJ9999&targetURL=store&prefix=3g_platform_shop-rent_op&entrance=yes" class="back" id="back">返回</a>
           <span class="span-num">WYP33130</span>
       </div>
    </div>
    <div class="content m-top">
        <div class="blank"></div>
        <div class="tenant-1">
            <div class="tenant-1-1"><a href="javascript:void(0)" class="modify"><span style="float:left;font-size:12px" class="modify-2">商户姓名：<b style="font-weight:400;" class="modify-3">郑店长</b></span><img alt="" src="<%=basepath%>images/b43.png" style="float:right;width:40px;"></a></div>
            <div class="hr"></div>
            <div class="tenant-1-1"><a href="javascript:void(0)" class="modify"><span style="float:left;font-size:12px" class="modify-2">电话：<b style="font-weight:400;" class="modify-3">13807190026</b></span><img alt="" src="<%=basepath%>images/b43.png" style="float:right;width:40px;"></a></div>
            <div class="hr"></div>
            <%-- <div class="tenant-1-1"><a href="javascript:void(0)" class="modify"><span style="float:left;font-size:12px" class="modify-2">地址：<b style="font-weight:400;" class="modify-3">江西省上饶市北坡县商桥村5号</b></span><img alt="" src="<%=basepath%>images/b43.png" style="float:right;width:40px;"></a></div>
            <div class="hr"></div>
            <div class="tenant-1-1"><a href="javascript:void(0)" class="modify"><span style="float:left;font-size:12px" class="modify-2">主营：<b style="font-weight:400;" class="modify-3">北方水果</b></span><img alt="" src="<%=basepath%>images/b43.png" style="float:right;width:40px;"></a></div>
            <div class="hr"></div>
            <div class="tenant-1-1"><a href="javascript:void(0)" class="modify"><span style="float:left;font-size:12px" class="modify-2">营业执照号：<b style="font-weight:400;" class="modify-3">645655645546545</b></span><img alt="" src="<%=basepath%>images/b43.png" style="float:right;width:40px;"></a></div>
            <div class="hr"></div>
            <div class="tenant-1-1"><a href="javascript:void(0)" class="modify"><span style="float:left;font-size:12px" class="modify-2">法定代表人：<b style="font-weight:400;" class="modify-3">葛老板</b></span><img alt="" src="<%=basepath%>images/b43.png" style="float:right;width:40px;"></a></div>
            <div class="hr"></div> --%>
        </div>
    </div>
</div>
</body>
<script type="text/javascript">
    /*错误提示*/
    $(function(){
        var error = "${requestScope.returnMsg}";
        if(error != "" && error != "成功!"){
            layer.msg(error,{shadeClose:true,shade:0.1,time:2000});
        }
    });
    $(function(){
    	$(".modify").click(function(){
    		var modify = $(this).find(".modify-2 .modify-3");
    		layer.prompt({formType:0,title:"修改商户资料"},function(text){
    			layer.closeAll();
    			layer.load();
    			//modify.text(text);
    			$.ajax({
    				type:"post",
    				url:"/wape-web/api/core/centerService",
    				data:{
    					serviceCode:""
    				},
    				success:function(data){
    					var information = eval("("+data+")");
    					if(information.returnCode = "200"){
    						layer.closeAll();
    						modify.text(text);
    					}
    					else{
    						layer.closeAll();
    						layer.msg("修改失败!",{shadeClose:true,shade:0.1,time:2000});
    					}
    				}
    			});
    		});
    	});
    });
</script>
</html>


